import React  ,{useEffect}from 'react'
import { fn } from './utils'
// 引入
type Props = {}
// 类型
const App = (props: Props) => {
  // 函数
  const difference:number=10
  const arr=(ar:number)=>{
    console.log(ar);
    
  }
  arr(difference)
  useEffect(()=>{
    console.log(fn,'枚举');
    
  },[])
  return (
    <div>App</div>
  )
}

export default App